package framework;

import java.util.HashMap;

public class Manager {

    private HashMap<String, Product> showcase = new HashMap<String, Product>();

    public void register(String name, Product proto){
        showcase.put(name, proto);
    }

    public Product create(String name){
        Product product = showcase.get(name);
        return product.createClone();
    }

}
